package com.zhongkeruan.order.service;

import com.zhongkeruan.common.model.Order;
import com.zhongkeruan.common.model.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yangyao
 * @Description: UserService
 * @date 2019/1/11 15:13
 */
public interface OrderService {

    public List<Order> getOrderList() throws Exception;

    public Order getOrderById(Long id) throws Exception;

    public List<Order> getOrderByUserId(Long userId) throws Exception;

    public int addOrder(Order order) throws Exception;
}
